
package edu.wpi.first.wpilibj.templates;
import edu.wpi.first.wpilibj.Joystick;
import edu.wpi.first.wpilibj.buttons.JoystickButton;

public class OI {
    // Process operator interface input here.
    

    /*
     * [Sam] If these are public, any other code could set them to null or any
     * other strange and dangerous things. I've made them private and created
     * getters to let other classes get them but not change them.
     */
    public static Joystick driveJoystick = new Joystick (1);
    public static Joystick operatorJoystick = new Joystick(3);
    

    public Joystick getDriveJoystick() {
        return driveJoystick;
    }

    public Joystick getOperatorJoystick() {
        return operatorJoystick;
    }


    
    public JoystickButton shoot = new JoystickButton (operatorJoystick, 1);
    public JoystickButton powerUp = new JoystickButton (operatorJoystick, 5);
    public JoystickButton powerDown = new JoystickButton (operatorJoystick, 4);
    public JoystickButton autoPower = new JoystickButton (operatorJoystick, 3);
    
    //public OptimizeNommer optimize = new OptimizeNommer();
    
    
    public OI(){

    }

}

